InterconnectOutageNotification.fromJson constructor

InterconnectOutageNotification.fromJson(
  1. Map json_
)

Implementation

InterconnectOutageNotification.fromJson(core.Map json_)
    : this(
        affectedCircuits: json_.containsKey('affectedCircuits')
            ? (json_['affectedCircuits'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        issueType: json_.containsKey('issueType')
            ? json_['issueType'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        source: json_.containsKey('source')
            ? json_['source'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );