A11yServiceNode.fromJson constructor

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

Implementation

factory A11yServiceNode.fromJson(Map<String, dynamic> json) {
  return A11yServiceNode(
    depth: (json['depth'] as List<dynamic>?)?.map((e) => e as int).toList(),
    bounds: (json['bounds'] as List<dynamic>?)?.map((e) => e as int).toList(),
    id: json['id'] as String?,
    packageName: json['packageName'] as String?,
    className: json['className'] as String?,
    text: json['text'] as String?,
    description: json['description'] as String?,
    clickable: json['clickable'] as bool?,
    scrollable: json['scrollable'] as bool?,
    editable: json['editable'] as bool?,
  );
}