toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var version = this.version;
  var friendlyLastModified = this.friendlyLastModified;

  final json = <String, Object?>{};
  if (version != null) {
    json[r'version'] = version.toJson();
  }
  if (friendlyLastModified != null) {
    json[r'friendlyLastModified'] = friendlyLastModified;
  }
  return json;
}