toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (database != null) 'database': database!,
      if (databaseFunction != null) 'databaseFunction': databaseFunction!,
      if (databasePackage != null) 'databasePackage': databasePackage!,
      if (entityDdl != null) 'entityDdl': entityDdl!,
      if (entityType != null) 'entityType': entityType!,
      if (issues != null) 'issues': issues!,
      if (mappings != null) 'mappings': mappings!,
      if (materializedView != null) 'materializedView': materializedView!,
      if (parentEntity != null) 'parentEntity': parentEntity!,
      if (schema != null) 'schema': schema!,
      if (sequence != null) 'sequence': sequence!,
      if (shortName != null) 'shortName': shortName!,
      if (storedProcedure != null) 'storedProcedure': storedProcedure!,
      if (synonym != null) 'synonym': synonym!,
      if (table != null) 'table': table!,
      if (tree != null) 'tree': tree!,
      if (udt != null) 'udt': udt!,
      if (view != null) 'view': view!,
    };