DemoteContext.fromJson constructor

DemoteContext.fromJson(
  1. Map json_
)

Implementation

DemoteContext.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        sourceRepresentativeInstanceName:
            json_.containsKey('sourceRepresentativeInstanceName')
                ? json_['sourceRepresentativeInstanceName'] as core.String
                : null,
      );