toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (chainNames != null) 'chainNames': chainNames!,
      if (locationCount != null) 'locationCount': locationCount!,
      if (name != null) 'name': name!,
      if (websites != null) 'websites': websites!,
    };