fromMap static method

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

Gets a possible AndroidWebStorageOrigin instance from a Map value.

Implementation

static AndroidWebStorageOrigin? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = AndroidWebStorageOrigin(
    origin: map['origin'],
    quota: map['quota'],
    usage: map['usage'],
  );
  return instance;
}