toJson method Null safety

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (languageCode != null) 'languageCode': languageCode!,
      if (organizations != null) 'organizations': organizations!,
      if (packageName != null) 'packageName': packageName!,
      if (title != null) 'title': title!,
    };