Approval.fromJson constructor

Approval.fromJson(
  1. Map json_
)

Implementation

Approval.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );