NativeScriptScriptAll.fromJson constructor

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

Implementation

factory NativeScriptScriptAll.fromJson(Map<String, dynamic> json) {
  return NativeScriptScriptAll(((json["native_scripts"] ??
          json["script_all"]["native_scripts"]) as List)
      .map((e) => NativeScript.fromJson(e))
      .toList());
}