PluginPlatformInfo.fromJson constructor

PluginPlatformInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PluginPlatformInfo.fromJson(Map<String, dynamic> json) =>
    PluginPlatformInfo(
      defaultPackage: _stringOrNull(json['default_package']),
      pluginClass: _stringOrNull(json['pluginClass']),
      ffiPlugin: json['ffiPlugin'] as bool? ?? false,
    );