PerInstanceConfig.fromJson constructor

PerInstanceConfig.fromJson(
  1. Map json_
)

Implementation

PerInstanceConfig.fromJson(core.Map json_)
    : this(
        fingerprint: json_.containsKey('fingerprint')
            ? json_['fingerprint'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        preservedState: json_.containsKey('preservedState')
            ? PreservedState.fromJson(json_['preservedState']
                as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );