Job.fromJson constructor

Job.fromJson(
  1. Map json_
)

Implementation

Job.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        reportTypeId: json_.containsKey('reportTypeId')
            ? json_['reportTypeId'] as core.String
            : null,
        systemManaged: json_.containsKey('systemManaged')
            ? json_['systemManaged'] as core.bool
            : null,
      );