toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    if (credentials != null) 'credentials': credentials!.toJson(),
    if (database != null) 'database': database!.toJson(),
    if (filesystem != null) 'filesystem': filesystem!.toJson(),
    if (nodes != null) 'nodes': nodes!.toJson(),
    if (instance != null) 'instance': instance!.toJson(),
  };
}