Collection.fromJson constructor Null safety

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

Creates a Collection from Json map

Implementation

factory Collection.fromJson(Map<String, dynamic> json) =>
    _$CollectionFromJson(json);