FlutterScreenshotEvent.fromMap constructor
Implementation
factory FlutterScreenshotEvent.fromMap(Map<Object?, Object?> map) {
return FlutterScreenshotEvent(
method: map['method'] as String,
timestamp: DateTime.fromMicrosecondsSinceEpoch(map['timestamp'] as int),
path: map['path'] as String?,
);
}