fromJson static method

LabelCreateRequest fromJson(
  1. dynamic value
)

Returns a new LabelCreateRequest instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static LabelCreateRequest fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return LabelCreateRequest(
    orgID: mapValueOfType<String>(json, r'orgID'),
    name: mapValueOfType<String>(json, r'name'),
    properties: mapCastOfType<String, String>(json, r'properties'),
  );
}