InstanceState.fromJson constructor

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

Implementation

factory InstanceState.fromJson(Map<String, dynamic> json) {
  return InstanceState(
    code: json['code'] as int?,
    name: json['name'] as String?,
  );
}