fromMap static method

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

Gets a possible ChromeSafariBrowserActionButton instance from a Map value.

Implementation

static ChromeSafariBrowserActionButton? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = ChromeSafariBrowserActionButton(
    description: map['description'],
    icon: map['icon'],
    id: map['id'],
  );
  instance.shouldTint = map['shouldTint'];
  return instance;
}