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,
      );