AccessReason.fromJson constructor

AccessReason.fromJson(
  1. Map json_
)

Implementation

AccessReason.fromJson(core.Map json_)
    : this(
        detail: json_.containsKey('detail')
            ? json_['detail'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );