InstancesDemoteMasterRequest.fromJson constructor

InstancesDemoteMasterRequest.fromJson(
  1. Map _json
)

Implementation

InstancesDemoteMasterRequest.fromJson(core.Map _json)
    : this(
        demoteMasterContext: _json.containsKey('demoteMasterContext')
            ? DemoteMasterContext.fromJson(_json['demoteMasterContext']
                as core.Map<core.String, core.dynamic>)
            : null,
      );