ResourceFile.fromJson constructor

ResourceFile.fromJson(
  1. Map<String, Object?> map
)

Implementation

factory ResourceFile.fromJson(Map<String, Object?> map) => ResourceFile(
      part: map['part'] as int,
      references: List<ResourceReference>.from((map['references'] as List)
          .map((e) => e as Map<String, Object?>)
          .map(ResourceReference.fromJson)),
    );