JSONBodyCredential constructor

JSONBodyCredential(
  1. String field,
  2. dynamic authorization
)

Implementation

JSONBodyCredential(String field, this.authorization) {
  field = field.trim();
  _field = field.isNotEmpty ? field : null;
}