toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final assets = this.assets;
  final autoCreate = this.autoCreate;
  return {
    if (assets != null) 'Assets': assets,
    if (autoCreate != null) 'AutoCreate': autoCreate,
  };
}