Assignment.fromJson constructor

Assignment.fromJson(
  1. Map json_
)

Implementation

Assignment.fromJson(core.Map json_)
    : this(
        assignee: json_.containsKey('assignee')
            ? json_['assignee'] as core.String
            : null,
        jobType: json_.containsKey('jobType')
            ? json_['jobType'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );