ChunkMeta.fromJson constructor

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

Create from JSON.

Implementation

factory ChunkMeta.fromJson(Map<String, dynamic> json) {
  return ChunkMeta(
    index: json['index'] as int,
    total: json['total'] as int,
    groupId: json['groupId'] as String,
  );
}