line_notify_d 1.0.0 line_notify_d: ^1.0.0 copied to clipboard
This is a Line Notify API wrapping library for the Dart language licensed under BSD 3-Clause.
// Copyright (c) 2021, Kato Shinya. All rights reserved.
// Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:line_notify_d/line_notify_d.dart';
/// The class that demonstrates the [LineNotify].
class DemoLineNotify {
void main() async {
final HttpResponse response = await LineNotify.from(
token: Token.from(value: 'Set your Line Notify Token here'))
.send(message: 'Set the message you want to send here');
print(response.statusCode); // => 200
print(response.body); // {status: 200, message: ok}
}
}