fromJson static method

BucketLinks fromJson(
  1. dynamic value
)

Returns a new BucketLinks instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static BucketLinks fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return BucketLinks(
    labels: mapValueOfType<String>(json, r'labels'),
    members: mapValueOfType<String>(json, r'members'),
    org: mapValueOfType<String>(json, r'org'),
    owners: mapValueOfType<String>(json, r'owners'),
    self: mapValueOfType<String>(json, r'self'),
    write: mapValueOfType<String>(json, r'write'),
  );
}