toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "name": name,
      "code": code,
      "type": type,
      "logo": logo,
      "settings_sample":
          settingsSample == null ? null : settingsSample!.toJson(),
      "auth_sample": authSample == null
          ? null
          : List<dynamic>.from(authSample!.map((x) => x)),
      "description": description,
    };