fromJson static method

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

Implementation

static EmitNewStateAction fromJson(Map<String, dynamic> json) {
  return EmitNewStateAction(
    id: json['id'],
    cubitID: json['cubit_id'],
    stateID: json['state_id'],
    fields: EmitNewStatePassingParameter.fromJsonList(json['fields']),
  );
}