MeshFile.fromJson constructor

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

Implementation

factory MeshFile.fromJson(Map<String, Object?> json) => MeshFile(
      filename: Field.stringAt(json, 'filename'),
      data: Field.asBytes(json['data']),
    );