# maskedValue static method

Future<String> maskedValue(

1. AccountOnFile aof,
2. String fieldId

)

## Implementation

    static Future<String> maskedValue(AccountOnFile aof, String fieldId) async {
      final maskedValueRequest = AccountOnFileMaskedValueRequest(aof, fieldId);
      final maskedValue = await _NativeMaskingInterface.instance.maskedValueForAccountOnFile(jsonEncode(maskedValueRequest));
      return maskedValue;
    }