toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final connections = this.connections;
  return {
    if (connections != null) 'Connections': connections,
  };
}