# customMaskedValue static method

Future<String> customMaskedValue(

1. AccountOnFile aof,
2. String fieldId,
3. String mask

)

## Implementation

    static Future<String> customMaskedValue(AccountOnFile aof, String fieldId, String mask) async {
      final customMaskedValueRequest = AccountOnFileCustomMaskedValueRequest(aof, fieldId, mask);
      final customMaskedValue = await _NativeMaskingInterface.instance.customMaskedValueForAccountOnFile(jsonEncode(customMaskedValueRequest));
      return customMaskedValue;
    }