fromMap static method
Gets a possible ActivityButton instance from a Map value.
Implementation
static ActivityButton? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = ActivityButton(
extensionIdentifier: map['extensionIdentifier'],
templateImage:
UIImage.fromMap(map['templateImage']?.cast<String, dynamic>())!,
);
return instance;
}