GetTrailResponse.fromJson constructor

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

Implementation

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