ApproveAccountRequest.fromJson constructor

ApproveAccountRequest.fromJson(
  1. Map json_
)

Implementation

ApproveAccountRequest.fromJson(core.Map json_)
    : this(
        approvalName: json_.containsKey('approvalName')
            ? json_['approvalName'] as core.String
            : null,
        properties: json_.containsKey('properties')
            ? (json_['properties'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
      );