toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    if (servers != null) 'servers': servers,
    if (users != null) 'users': users,
    if (shards != null) 'shards': shards
  };
}