toJson method Null safety

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dynamicTagEnabled != null) 'dynamicTagEnabled': dynamicTagEnabled!,
      if (imageTagEnabled != null) 'imageTagEnabled': imageTagEnabled!,
    };