ClientEvent.fromJson constructor

ClientEvent.fromJson(
  1. Map json_
)

Implementation

ClientEvent.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        eventId: json_.containsKey('eventId')
            ? json_['eventId'] as core.String
            : null,
        eventNotes: json_.containsKey('eventNotes')
            ? json_['eventNotes'] as core.String
            : null,
        jobEvent: json_.containsKey('jobEvent')
            ? JobEvent.fromJson(
                json_['jobEvent'] as core.Map<core.String, core.dynamic>)
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
      );