fromJson static method

DeviceusageAdherenceCode? fromJson(
  1. dynamic json
)

Implementation

static DeviceusageAdherenceCode? fromJson(dynamic json) {
  if (json is String) {
    return fromString(json);
  }
  return null;
}