PosixUser.fromJson constructor
Implementation
factory PosixUser.fromJson(Map<String, dynamic> json) {
return PosixUser(
gid: json['Gid'] as int,
uid: json['Uid'] as int,
secondaryGids: (json['SecondaryGids'] as List?)
?.whereNotNull()
.map((e) => e as int)
.toList(),
);
}