fromMap static method

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

Gets a possible AndroidWebViewPackageInfo instance from a Map value.

Implementation

static AndroidWebViewPackageInfo? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = AndroidWebViewPackageInfo(
    packageName: map['packageName'],
    versionName: map['versionName'],
  );
  return instance;
}