DeprecationStatus.fromJson constructor

DeprecationStatus.fromJson(
  1. Map json_
)

Implementation

DeprecationStatus.fromJson(core.Map json_)
    : this(
        deleted: json_.containsKey('deleted')
            ? json_['deleted'] as core.String
            : null,
        deprecated: json_.containsKey('deprecated')
            ? json_['deprecated'] as core.String
            : null,
        obsolete: json_.containsKey('obsolete')
            ? json_['obsolete'] as core.String
            : null,
        replacement: json_.containsKey('replacement')
            ? json_['replacement'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );