Asset.fromJson constructor

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

Implementation

factory Asset.fromJson(Map<String, dynamic> json) {
  return Asset(
    groundTruthManifest: json['GroundTruthManifest'] != null
        ? GroundTruthManifest.fromJson(
            json['GroundTruthManifest'] as Map<String, dynamic>)
        : null,
  );
}