fromJson static method

ScriptUpdateRequest fromJson(
  1. dynamic value
)

Returns a new ScriptUpdateRequest instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static ScriptUpdateRequest fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return ScriptUpdateRequest(
    name: mapValueOfType<String>(json, r'name'),
    description: mapValueOfType<String>(json, r'description'),
    script: mapValueOfType<String>(json, r'script'),
  );
}