copyWith method

OgImage copyWith({
  1. String? url,
  2. String? secureUrl,
})

Implementation

OgImage copyWith({String? url, String? secureUrl}) => OgImage(
      url: url ?? this.url,
      secureUrl: secureUrl ?? this.secureUrl,
      type: type,
      width: width,
      height: height,
      alt: alt,
    );