UpdateSiteResponse.fromJson constructor

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

Implementation

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