fromJson static method

PasswordResetBody fromJson(
  1. dynamic value
)

Returns a new PasswordResetBody instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static PasswordResetBody fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return PasswordResetBody(
    password: mapValueOfType<String>(json, r'password'),
  );
}