DebugStateChange.fromJson constructor

DebugStateChange.fromJson(
  1. List jsonList
)

Implementation

factory DebugStateChange.fromJson(List<dynamic> jsonList) {
  final json = listToMap(jsonList, type: type);
  return DebugStateChange(
    tabId: json['tabId'] as int,
    newState: json['newState'] as String,
    reason: json['reason'] as String?,
  );
}