toJson method

String toJson()

Implementation

String toJson() {
  switch (this) {
    case NfcPolicy.disabled:
      return 'Disabled';
    case NfcPolicy.optional:
      return 'Optional';
    case NfcPolicy.required:
      return 'Required';
  }
}