fromMap static method

RequestImageRefResult? fromMap(
  1. Map<String, dynamic>? map
)

Gets a possible RequestImageRefResult instance from a Map value.

Implementation

static RequestImageRefResult? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = RequestImageRefResult(
    url: map['url'] != null ? WebUri(map['url']) : null,
  );
  return instance;
}