AccessApprovalRequest.fromJson constructor

AccessApprovalRequest.fromJson(
  1. Map json_
)

Implementation

AccessApprovalRequest.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        requestTime: json_.containsKey('requestTime')
            ? json_['requestTime'] as core.String
            : null,
        requestedExpirationTime: json_.containsKey('requestedExpirationTime')
            ? json_['requestedExpirationTime'] as core.String
            : null,
        requestedReason: json_.containsKey('requestedReason')
            ? AccessReason.fromJson(json_['requestedReason']
                as core.Map<core.String, core.dynamic>)
            : null,
      );