MeshFile.fromJson constructor

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

Implementation

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