toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => <String, Object?>{
      if (applicationName != null) 'application_name': applicationName,
      if (timezone != null) 'timezone': timezone,
      if (charset != null) 'charset': charset,
      if (schema != null) 'schema': schema,
      if (extraSql.isNotEmpty) 'extra_sql': extraSql,
    };