toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (altText != null) 'altText': altText!,
      if (contentUri != null) 'contentUri': contentUri!,
      if (properties != null) 'properties': properties!,
      if (sourceUri != null) 'sourceUri': sourceUri!,
    };