toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (altText != null) 'altText': altText!,
      if (borderStyle != null) 'borderStyle': borderStyle!,
      if (cropStyle != null) 'cropStyle': cropStyle!,
      if (imageUri != null) 'imageUri': imageUri!,
    };