Ulimit.fromJson constructor

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

Implementation

factory Ulimit.fromJson(Map<String, dynamic> json) {
  return Ulimit(
    hardLimit: json['hardLimit'] as int,
    name: (json['name'] as String).toUlimitName(),
    softLimit: json['softLimit'] as int,
  );
}