PortabilityArchiveState.fromJson constructor

PortabilityArchiveState.fromJson(
  1. Map json_
)

Implementation

PortabilityArchiveState.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        urls: json_.containsKey('urls')
            ? (json_['urls'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );