fromMap static method

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

Gets a possible UIImage instance from a Map value.

Implementation

static UIImage? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = UIImage(
    data: map['data'],
    name: map['name'],
    systemName: map['systemName'],
  );
  return instance;
}