fromJson static method

DBRPUpdate fromJson(
  1. dynamic value
)

Returns a new DBRPUpdate instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static DBRPUpdate fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return DBRPUpdate(
    retentionPolicy: mapValueOfType<String>(json, r'retention_policy'),
    default_: mapValueOfType<bool>(json, r'default'),
  );
}