toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (databaseUrl != null) 'databaseUrl': databaseUrl!,
      if (name != null) 'name': name!,
      if (project != null) 'project': project!,
      if (state != null) 'state': state!,
      if (type != null) 'type': type!,
    };