BuildApproval.fromJson constructor

BuildApproval.fromJson(
  1. Map json_
)

Implementation

BuildApproval.fromJson(core.Map json_)
    : this(
        config: json_.containsKey('config')
            ? ApprovalConfig.fromJson(
                json_['config'] as core.Map<core.String, core.dynamic>)
            : null,
        result: json_.containsKey('result')
            ? ApprovalResult.fromJson(
                json_['result'] as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );