A11yServiceResult.fromJson constructor

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

Implementation

factory A11yServiceResult.fromJson(Map<String, dynamic> json) {
  return A11yServiceResult(
    event: json['event'] == null ? null : A11yServiceEvent.fromJson(Map.from(json['event'])),
    nodes: (json['nodes'] as Map<dynamic, dynamic>?)?.map((k, e) => MapEntry(k!, A11yServiceNode.fromJson(Map.from(e)))),
  );
}