opsFromJson static method
Creates a list of UserOp instances from a list of JSON objects.
Parameters:
docs
– An iterable of JSON objects.
Returns a list of UserOp instances with the corresponding properties.
Implementation
static List<UserOp> opsFromJson(Iterable<dynamic> userOps) =>
userOps.map((e) => UserOp.fromJson(e)).toList();