DVStudioEdit.fromJson constructor

DVStudioEdit.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory DVStudioEdit.fromJson(Map<String, Object?> json) => DVStudioEdit._(
      kind: json['kind']! as String,
      id: json['id'] as String?,
      parent: json['parent'] as String?,
      index: (json['index'] as num?)?.toInt(),
      node: (json['node'] as Map?)?.cast<String, Object?>(),
      document: (json['document'] as Map?)?.cast<String, Object?>(),
    );