TrailInfo.fromJson constructor

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

Implementation

factory TrailInfo.fromJson(Map<String, dynamic> json) {
  return TrailInfo(
    homeRegion: json['HomeRegion'] as String?,
    name: json['Name'] as String?,
    trailARN: json['TrailARN'] as String?,
  );
}