toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (helpUrl != null) 'helpUrl': helpUrl!,
      if (longMessage != null) 'longMessage': longMessage!.toJson(),
      if (priority != null) 'priority': priority!,
      if (pseudoResourceId != null) 'pseudoResourceId': pseudoResourceId!,
      if (region != null) 'region': region!.toJson(),
      if (resourceName != null) 'resourceName': resourceName!,
      if (screenId != null) 'screenId': screenId!,
      if (secondaryPriority != null) 'secondaryPriority': secondaryPriority!,
      if (shortMessage != null) 'shortMessage': shortMessage!.toJson(),
      if (title != null) 'title': title!,
    };