GetInstanceStateResult.fromJson constructor

GetInstanceStateResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetInstanceStateResult.fromJson(Map<String, dynamic> json) {
  return GetInstanceStateResult(
    state: json['state'] != null
        ? InstanceState.fromJson(json['state'] as Map<String, dynamic>)
        : null,
  );
}