CreateSiteResponse.fromJson constructor

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

Implementation

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